package com.heima.common.log;

import com.heima.model.common.dtos.ResponseResult;
import lombok.Data;

/**
 * @创建人: stone
 * @描述:
 */
@Data
public class AdminLog {
    //运行方法
    public String runMethod;
    //运行类
    public String calssName;
    //传递的参数
    public Object args;
    //操作人id
    public Integer operatingCrew;
    //可能出现的异常
    public Exception exception;
    //方法返回值
    public ResponseResult methodReturn;

    public AdminLog(String runMethod, String calssName, Object args, Integer operatingCrew, Exception exception, ResponseResult methodReturn) {
        this.runMethod = runMethod;
        this.calssName = calssName;
        this.args = args;
        this.operatingCrew = operatingCrew;
        this.exception = exception;
        this.methodReturn = methodReturn;
    }
}
